//
//  UIImage+ExCaptcha.h
//  OC-Example
//
//  Created by lcj on 2020/11/3.
//  Copyright © 2020 apang.men. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (ExCaptcha)
/**
 * 生成验证码图片
 *
 * @param size  图片的尺寸
 * @param callBack  验证码内容回调
 * @return 验证码图片
 */
+ (UIImage *)captchaWithSize:(CGSize)size callBack:(void(^)(NSString * code))callBack;
@end

NS_ASSUME_NONNULL_END
